home *** CD-ROM | disk | FTP | other *** search
-
- ; The mandoc file for MAN's man page...
- ; take a look at the format of this file; it's pretty simple.
- ;
- ; doc2man will automatically recognize the section headers as long as they are
- ; a) on a line of their own, b) all in uppercase and c) terminated with a
- ; colon.
- ;
- ; the following chars must be escaped with a backslash: \ { } _ |
- ;
- ; enclose text with the following to apply these styles:
- ; {italics} _underline_ |bold|
- ;
- ; you can comment out lines with a ';' at the START of file only. The
- ; first real line must be of the format "filename(section) - optional text",
- ; where filename is the manpage name and section is one of the following:
- ; 1 = user commands 5 = file formats
- ; 2 = system kernel funcs 6 = games and demos
- ; 3 = c library funcs 7 = environments and tables
- ; 4 = device interfaces 8 = maint commands
- ;
- ; any questions? just mail aw785@freenet.carleton.ca ...good luck!
- ;
- ; Fri Feb 03 23:48:24 1995
-
- man(1) - user cmds
-
- NAME:
-
- man - the manual pager (37.9, Feb/95)
-
- SYNOPSIS:
-
- man [section] item [output]
-
- DESCRIPTION:
-
- man formats system manual pages for reference, making use of the
- system {more} utility to page them to the standard output for
- display.
-
- The _item_ paramater is mandatory; it specifies the function or
- command name to look up. _section_ is an optional manual section
- under which to look (currently, following the de facto UNIX
- ordering). Any filename passed to _output_ will receive the
- formatted man pages instead of the {more} command.
-
- man checks the environment variable |console\_width| for the
- horizontal size of your display or printer. The variable can be
- either local or global. If it is unset, a default value of 74 is
- assumed (visually balanced with the 6-col margin on an 80-col
- display).
-
- man will also compare datestamps on the cat and man files, and if the
- man file is newer than the existing cat file it will be reformatted.
- Else, the cat file will be paged. This is to save time in unnecessarily
- reformatting long files.
-
- More specific documentation is pending.
-
- OPTIONS:
-
- None at present.
-
- FILES:
-
- man:manX/foo.X - manual page file, where X is a section num and foo
- is a name.
-
- t:manual/foo.X - formatted version of same, cached to expediate redisplay
-
- man:whatis - the whatis database for keyword search (not yet implemented).
-
- SEE ALSO:
-
- {man2doc}, {doc2man}, {guide2man}, {more}, {setenv}
-
-